package com.amiu.util;

public class DateUtil {

	/**
	 * 毫秒转为分钟
	 * @return
	 */
	public static float msToMin(long milliSecond){
		if(milliSecond <= 0) return 0;
		return milliSecond/60/60;
	}
	
	/**
	 * 秒转为分钟
	 * @return
	 */
	public static float secondToMin(long second){
		if(second <= 0) return 0;
		return second/60;
	}
}
